package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.TAdsbHistoryData;
import com.ruoyi.common.core.domain.entity.TAdsbOutput;
import com.ruoyi.system.mapper.AdsbOutputMapper;
import com.ruoyi.system.service.IAdsbOutputService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Auther: Stanley.Y
 * @Date: 2024/7/12
 * @Description:
 * @Version 1.0.0
 */

@Service
public class AdsbOutputServiceImpl implements IAdsbOutputService {
    private static final Logger log = LoggerFactory.getLogger(AdsbOutputServiceImpl.class);

    @Autowired
    private AdsbOutputMapper adsbOutputMapper;

    @Override
    public List<TAdsbOutput> getAdsbOutputList(){
        return adsbOutputMapper.getAdsbOutputList();
    }

    @Override
    public TAdsbOutput getAdsbOutputById(String id) {
        return adsbOutputMapper.getAdsbOutputById(id);
    }

    @Override
    public int insertAdsbOutputRecord(TAdsbOutput adsbOutput) {
        return adsbOutputMapper.insertAdsbOutput(adsbOutput);
    }

    @Override
    public int deleteAdsbOutputRecord(String id){
        return adsbOutputMapper.deleteAdsbOutputRecord(id);
    }

}
